Check for contenteditable input and collapsable and resize nice scroll