style change and animation fix