implement slide image and header action.