Reduce left/right margin when close button hidden