Fix over-scroll protection. Fixes #76.
Fix sidebar positioning and scrolling. Fixes #82.