correcting width of mainController div