Improve image-gallery example.

AnimatedImage with gif crashes on some machines.
Cleanup layouting and other aspects.
Merge pull request #124 from gladhorn/imagegallery

Improve image-gallery example.