implemented photo screen and photo preview screen