added transitions and fixed some elements.