Replaces custom css display styles with built-in foundation view helper classes.