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

This reverts commit 8e5ffd578675d4c0d636cd6846615cd85e8a8d22.
Revert "Revert "stylebranch changes""

This reverts commit e9280c3f9f9e38da8008b4f0e7138f4126f8c1c3.