add responsive layout. fixes #1