added switch logic

enter for pause, shift for rotating head