Cleans up slant functions and creates slant effect on card drag and drop.