pagination styled with extend since it is in gem file