Arranges collections view code.