Fixing bug https://github.com/Khan/khan-exercises/issues/13803

Tweaked the cutoff down to 160 from 170 which avoids the text overlapping.

Also changed the conditional test since previous code could result in a missing triangle.  

This is my first time working on the Khan-Exercises code so an extra set of eyes is appreciated.