Added functionality for horizontal cursors, improved code for rescaling axes