The attribute name for horizontal panning is pan not x