Add ifdef for BOARD_HAS_FLIPPED_SCREEN