get selected photo in photo detail view pager also on rotate device