Responsive layouts improvements. (not finished)

see #585