add horizontal check
Merge pull request #6 from frozeman/master

Add horizontal visibility check