Fixed #169 Using jQuery window .width

Also checking height for phones in landscape mode