Add the flip function of the image.
Merge branch 'feature/deck_flip' into dev