listeners for key presses to modify parameters