focus the first <input /> element after display toggle