re-arranging layout