.slide now recive a object with the corrds instead of two vars