Adding cinemagraph functionality.