moving pageSize to the controller, adding active to url