How the movie industry is adjusting to changes in viewing habits