redo layout of program page