Calculate topbar distance on window resize

If a element of the page is resized on window, distance must be
recalculated when sticky is enabled
Merge pull request #2481 from aparis/topbar-window-resize

Calculate topbar distance on window resize