Improved detection with the sensitivity. Added horizontal as well.