Fix default JS to ensure slide animation uses the container width