Mushroom Puzzle

The objective of this puzzle is to open all panels with the thief and close all panels with the mushroom. If you touch a panel, you can open or close the panel and its neighbors.