Fix bug with Firefox scroll navigation