ViewPort.js updated