Character flip based on direction

ISSUE: Character sprite direction
Signed-off-by: Shrikkanth Sreedharan <shrikkanth.sreedharan@gmail.com>