corrected a few things for graphs: axes disappeared when scrolling too much; better auto limits