some changes to pagination and animations