Framework for creating interactive story-type pages