added flash-friendly rotation property