only take screenshot for index change