change size and amrgins of history and portfolio cell