pagination navigation layout adjustment