changed style and clearTimeout