made things properly in the process creating a sass function to handle transition properties stacking.