tweak vertical alignment in templates