Load image from a local gallery in DATA ascending order.
Changed the pages available to left and right to 1 (3 was to many. It means it loads 3 fragments to the left and 3 to the right. 2 is probably alright)

Also, there is a chance that the bitmap would be set on an already detached fragment, so I check if the ImageView is null.