Asking an audience to shift gears from one genre to another, especially unexpectedly, can be a difficult task, but these movies did it and fully succeeded.