jquery – detect browser resize
<script type="text/javascript">
jQuery(window).resize(function() {
var viewPortWidth = jQuery(window).width();
if (viewPortWidth < 650){
jQuery(".flex-slider-text").show();
}else{
jQuery(".flex-slider-text").hide();
}
});
</script>