Detects branch clicking