Make code around $breakpoint-legacy-syntax more DRY.

Removing 6 lines of repeated code by switching around the if statements.