switched item pickup to onkeydown