Cleaned up mobile_profile_resize code

Made the mobile_profile_rezize.js code more “DRY” and added a “search”
id to the div that surrounds the search form