Added small screen changes so that the details automatically takes up the whole window.