Add onclick: When a detail img is clicked, display the corresponding screenshot