Fixed issue where scroll isn't triggered on initial load