Adds ability to change equations with arrow keys