added onclick support for childview