Updated code example to avoid scrollbars