Add max-height to child actions
Fix javascript delegation