Initial state with shear in peripheral heavy ion collisions