better animation method and fixed css setup when restarted