improved styling of the template selection