Fixed some logic problems in the picture behavior. added a curl transition for the image picker.