How to fix the maximum scrolling range?
(So that when dragging it was impossible to go into the void)