Added autoscroll near the borders of the screen

Fixed amount of pixels from edge