add hero move and sprite flip