In my University years I remember reading a science fiction story. The plot was about an architect who designs and builds a house for his clients or friends in California. While inspecting it they suddenly relealise that the house has an extra fourth dimension. They understand that something is wrong - they only see one floor out of many built just a day before. After they enter the house they realise the other floors collapsed into the first one. They figure out later that this is a fourth dinemsion they got in because of the house. All the rooms are intact, but intersect in weird ways. At some point they chase some intruders only to realise they are chasing mirror images of themselves. They are stuck inside because all the exits loop them back into the house. One room has windows to other strange places like an upside-down ocean or an alien looking desert. They can only leave the house if they don't think about their destination. Apparently a small earthquake caused the problem because the fourth dimension of the house was not stable enough. They manage to escape as another earthquake hits and end up miles away. The story was called "And He Built a Crooked House" by Robert Heinlein,