Merge pull request #2 from maroslaw/master

Update to latest code
Update Reisize method
Improvement to check method
Add check for device orientation
Remove JSHINT error
Fix jshint error
Indent size
Merge pull request #105 from mubaidr/master

Updated resize event handler