fixed the scrolling issue by adding position:fixed to the canvas css