finishing layout for all devices