Backed up linear slide code

for reference now that we are switching to a scissor bot