javascript exception on scrolling fixed