screenWidth and screenHeight take into account rotation