scroll to top after on directory change