corrected controls for cube manipulation