fixes resize issue (chart height was reset to default)
improved mouse interaction when fully zoomed out