Arrow key selection behavior change and tests

Now If you are on the first list item and press the up arrow key, the selection will remain unchanged. The same is true for pressing the down arrow key on the last list item.