solve page slide bug