fixed; flicker by adding delay to animations