changing controller orientation