Fixes padding issue with currently selected page for pagination