Reverted toggle to [data-toggle="dropdown"], it makes no difference with my current solution
so I think its better to leave it as it was earlier.