decouple DOM update from photos fetch
add counter