Manipulating 1-dimensional skyrmion motion by the external magnetic field gradient