fix horizontal page flipping & overflow scroll