fix the bug where the image returns to wrong cell when returning from horizontal view.