Move item view events to separate file
Fix outdenting misbehavior and parent_id settings in insertAt