"fixed rerendering problem by splitting up displaying of images into separate template"