attempted fix for orientation controls