fixed bug with reverse image order...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>