alignment of Template Gallery section fix

Fixed the template gallery detail section