refactors markup and css for profile page and video partial