tried to fix resize bug (jquery resizable issue)