The development of vertical layers in a rotating fluid