update scroll for firefox