carousel abs right and left math