Fix product view template to render well and allow 5 thumbnails on a lin...

...e

I've fixed product templates rendering related to PR https://github.com/sonata-project/sandbox/pull/217