added if logic for all movies page