Fixes #5312: Lightbox will not reposition itself on small viewport devices

The fix measures the viewport height, and if it's below 600px, it tells colorbox to not reposition itself on window.resize events. Note it will still reposition if you manually tell the colorbox to resize, but this seems an acceptable compromise.