Fix scroll behavior, retry requests
Fix scroll behavior, retry requests

When gallery closed, the body would not scroll. This behavior is
switchable in the preferences. Retry initial requests by default 3 times
if they fail. This works around heroku hobby services that sleep after
inactivity and require initialization time.

gcochard/prime-photo-gallery