The depression slowly moved towards the west , and wind shear made it so the storm could not gain much more strength . The depression moved erratically and slowly towards the west , and wind shear inhabited any significant intensification .