fade in/out and speed update