adding responsive js

This fix mimics native-app-like behaviors for small mobile vertically-oriented screens