Expanded methods should not save state between pages

Currently, when you open a method on a page, browse away from it, and then come back, the method is still expanded. This breaks the expectation of pages not saving their state in between loads.