pretty photo doesn't work too well on tablets, so adjusted theme.js so that it is only applied when the width is > 1249