Setup custom view for autolayout