Changed scroll height calculation method

- scrolling menu bar top position is now calculated relative to the original position of the menu bar. This allows it to react dynamically to the content on the page if it is changed relative to the menu.