added a  resize function to the front page video