adds x-axis, squashed a few bugs with click behavior

Addresses #9