Fixed scroll action, so it doesn't scroll more than the bottom of the content size