changed the positions of the output figures