Fixed bug that caused video to keep playing in previous page when you move to the next page