add photo preview with custom transitions