Auto scroll

Scrolling when in top and bottom margin