Recalculate toolbar position with sidebar (Fixes #41)