Fix for sidebar bug

Fixes included in this request:
* Fixed an obscure bug in the docking behaviour when container height < div wrapper height
* Updating styling to also style horizontal scroll bars, if present
* Added comments to code
* ```merged``` with ```omniauth``` branch

**Bonus**
* Added progress bar for ```turbolinks``` loading