Fix image click logic.
Remove old impl.
Handle browser history/state.