UI view pager + refactoring code gridParams & pager.css