Added jQuery libraries to detect when a element is been resizing