handle simultaneous keypresses