fixed periphery laying flat when leaving the page and change video size based on page height