Separated dev, offline, and web modes. Option for scroll behavior