use an ammunition animation and set the last frame to have the slide back, then offset the slide in the reload-empty animation (when its open itll look normal on the gun in max, when its closed itll look moved too far in, again in max. in game itll work like its supposed to).
or if the arguments over the gif stuff, just leave it back in the fire animation when you render it so it looks right as a gif. not that hard