Updated resize logic in multiple files. Merging in with morgan's changes to css

Updated resize logic in multiple files. Merging in with morgan's changes to css