adds filtering ability and moves pagination to bottom of index page