Make the view stack autolayout compatible