Attach event handlers to container div