refactored movies index view