implemented up arrow for first block