remove space character which cased move down when switch page