Refactoring pageslide css