horizontal translation and vertical translation