Add scrollbar to code samples if it overflows, and adjust styles a bit for small screens.  Fixes #1.