Autoscroll and firefox fix