/* ok, our cursor position is valid (i.e. in list), but not selectable. */
/* when moving up, continue until we found a valid position. */
if ((dir == moveUp) || (dir == pageDown))
{
/* ok, our cursor position is valid (i.e. in list), but not selectable. */
/* when moving up, continue until we found a valid position. */
if ((dir == moveUp) || (dir == pageDown))
{