fixed issue with demo page displaying incorrectly in some browsers