progress on auto layout
fixing margin bug