Don't allow edit mode up arrow to continue past index == 0

closes #5259