event bug fix

only trigger events on the appropriate div