rstacruz/flatdoc — pull request #14 by grmlin (2013-07-24 18:01:24+00:00)
Title: Fixed sticky sidebar when resizing

1. Scroll down so that the sidebar becomes sticky
2. Resize the window
3. Scroll up, the sidebar gets static

When calculating the upper offset, the sidebar has to be static.