fixes layout for small devices

CSS changed for best support of small/wide devices.