Removed scrollTop code as it wasn't functioning