modified image sequence to go in reverse direction as well