fix hacked together demo mode

use cookies so the setting persists

no hard coding in templates because gross