Swap volume buttons when the screen is rotated by 90 or 180 degrees, part 1/2, (ported from LiquidSmooth)