somehow (but badly) working tooltips
fixed math for drawing an colorizing