Forgot to mention, startup shift fixed:
shiftout datapin,clockpin,1,[X-DLEN+DSTART, y]