There was problem with how firefox was rendering resizing. it turned out that there was typo.