hide views/templates while loading