preview photo working, fixed styling