revert autolayout sample