add max-height for right sidebar