Finish viewTrailer function