fix navigation on firefox