Clicking one panel opens other panel tabs – photoshop CS6

When I click on the layers panel it opens additional tabs of other panels as well. I have tried to click and drag them back to the side panel but when I click the layers panel again they still appear. Have also tried to collapse them back into the panel with the double arrow icon on the top right corner and still happens. I am guessing this might have to be adjusted in the preferences?