Create viewport.js

- set variables
- change css with jquery