Overflow:Hidden should be applied to Float:left for JS to work