clear page contents when loading