css and animation fixes