final version....start scan page when open tab, show images if tab was hidden and after shows up