fixed problem with scrolling button js