scrolling and selecting most visible image