added code to move the arm with button 5