fixed jquery to be specific - resizing works