Fixed issue where JQuery resize wouldn't work