Changed customization to return statements

It's easy to forget the "break;" clause, which will result in the wrong
css properties being applied