some ui changes for pagination