Fix for scroll not working under Firefox.