Sleep layout now looks proper for both horizontal and vertical layouts.