Updated side menu width calculation

Fixes #13