add footer pagination layout