refresh bordercontainer so that grid appears neatly first time