Added up arrow functionality