Modified pagination layout