Refactoring; render the app template on page load, then render image grid when Flickr data is fetched