fancy js to transfer between rows after actions