added autolayout methods. added map region validity check method