modified viewport with function
moved template files to subtheme