Fixed issue with height of window when scroll height > window height