cleaned up UI for pagination