fixed a bug: the page doesn't scroll to top in firefox and IE