added kalView as subview of mainview