Fixes #261 resizing layout after sidebar collapsed + reverse button