move y and prevent A from varying in height