added photo rotation capabilities; still seeing issues w/caching