complete the auto layout demo