fix page width and narrow-screen bug