allows user to select picture and show in collection view