self.backgroundTaskIdentifier = UIApplication.shared.beginBackgroundTask(expirationHandler: {print("animateRightToLeft: went here")
if let indentifier = self.backgroundTaskIdentifier {
//System will be shutting down the app at any point in time now[[UIApplication sharedApplication] endBackgroundTask:self.backgroundTaskIdentifier];
self.backgro