check position of click on container title bar