fix scrolly function