optimise auto scroll

when the user click or mosue over the element ,it stops scroll