adjust content height & page template