Fix reloading of demo content page on each resize