Adding max-height with scroll:auto, css syntax cleanup

container max-height is set to 300px to prevent excessively long edge
cases, css syntax adjusted for style conformity.