A controller for changing views via edge swipe gestures