attempted fix for portrait scaling isues