Made some auto layout stuffs

automagically