fix scrolling for browsers other than chrome