Adding a wrapper to each page to fix sliding animation glitches.