added H or V bind switch