update sidebar width