Modified to use three right buttons.