Enabling Jack movement with arrows and space bar