Added autolayout to post view