creating the notification slidein animation