switched position of legend and ledger divs