added constant update or update only on mouseup for barchart brush
first attempt at brush snapping