Fixing text-wrapping animation bug in accordeon