lightbox close/back fix

chrome ios initial history state is undefined, not null