added some animations for foreground