Animate open/close sidebar - following webtrees-base