improved template view page layout