html, body { height: 100%; margin: 0; padding: 0; } body { background: #f4f1ed; } .bar { height: 100%; border-style: solid; width: 360px; display: table; border-width: 0 1px; border-color: #ddd; position: absolute; transition: left 500ms; -moz-transition: left 500ms; -webkit-transition: left 500ms; -o-transition: left 500ms; z-index: 10; background: #f2f2f2; } .bar div.middle { display: table-cell; vertical-align: middle; } .bar div.contents { padding-left: 60px; overflow-y: scroll; overflow-x: hidden; }