Fix gravity on fragment style page.