finished basic implementation of paper size change