Added window_scroll_to_viewport based off previous function