Support flipped screen
signed-off-by sndnvaps <sndnvaps@gmail.com>