making fitvid work on pages and centering images on pages