improved Knob drawing code