fix scrollspy test in firefox mac os