change switchpage style