<div id="result"></div>
<div id="current"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
var oldDelta = $(window).width() - 1440, oldSign = oldDelta / (Math.abs(oldDelta)|| 1), newDelta, newSign;
$(window).resize(function () {
newDelta = $(window).width() - 1440, newSign = newDelta / (Math.abs(newDelta)||1);
current.textContent = newDelta;
if(oldSign != newSign){
result.innerHTML += ((oldSign < 0)?"Bigger":"Less") + "<br>";
oldSign = newSign;
}
})
</script>