Tiled Gallery: Smoother resize.

Resizing works smoothest on Chrome when only resizing on animation frames. However, on Firefox and Safari this causes an annoying overflow to the next row for square and circle tiles. For these browsers it seems completely ok to just resize whenever there is an event without any lag introduced.
Merge pull request #507 from rase-/smooth-resize

Tiled Gallery: Smoother resize.