move enter keyup to index