fixed max scroll issue