Fix for swipe to close on panel

Reinstated CSS previously removed to fix transition issue in FF, but instead broke swipe to close when page had horizontal overflow. Both FF issue and swipe to close fixed by adding page-block class after transition is complete.