move view listener to bridge.