A redis lua script to move an item forwards or backwards in a list