Fixed small window crash problem using code from mamo.fr
Replacing smart resize to jQuery resize
Fixed error for 2 columns