added nice transitions and minor style changes