Integrating Leap JS and some viewport changes