Updates to responsive JS

Updated viewport width check to match CSS media queries (also provides a height now). Added throttling function and example usage to call responsive JS on resize events while limiting impact on performance, since `$(window).resize()` often fires continuously during resizing.