This block shouldn't be necessary because we can flick through both images and video present in the gallery, each file type is valid in this test case.