get resize working on firefox