for image tab pager
for video function