registration view working with size classes