optimised float in layout