put a cap on width of sidebar