added line to slider listener to send photo id to the map