Fixed footer pagination bug