refactor css of pager