Fix for sliding animation not working in production.