working on implementing photo preview page