fixed scrolling for windows and mac os host