Why do you need $sline? Just use the line number that you want.

/dline -l @window 5