added animation, small changes in styles, bug fixing