Resetting displayHow when navigating to another code example.