Better sidebar width handling (#198)