fixes animation bug with text element on team page