Fix crash when a TransitionGenerator is set.

Closes #2
Fix view resize crash.

Closes #2 #14
Progress bar while loading image from URL on the sample app.