Code for motioncast on using auto layout in RubyMotion