reordered widgets to fit the order they appear on screen