add CSS transition to hero image caption