use animator
photo class
refactor class photo
only redraw when necessary
photo knows its own view
fix startup (width and height were nan)
checknext and prev in photoview not photo