editor: switch resize button when expanded/collapsed

Fix #84
Merge pull request #138 from uwescience/fix-84

Fix #84