bind to .css-chart instead of document so that it won't block page scrolling. also add tabindex=0 so it can gain focus.