GridFragment now uses an ArrayList to store images, allowing more to be added when scrolling down.