twisty gallery

inspired by this code

Some images from class