Update fingerprint.js

Handles orientation change in mobile and tablets