only add ui-has-child-title when there really is a title

`.toggleClass()` explicitly requires a `false` (not falsy) 2nd argument.

Without the `ui-has-child-title` class the `padding-right` should show up for untitled exercises/examples