Revert "Revert "Revert "Replacing smart resize to jQuery resize"""

This reverts commit 8e5ffd578675d4c0d636cd6846615cd85e8a8d22.
Revert "Revert "Revert "Revert "Replacing smart resize to jQuery resize""""

This reverts commit 3c1a1b464d99ce3dc0568b900ad1f67d3d6c44c8.