started work on handling device rotation