Fix dropdown error caused by weird bootstrap transitions script. Style dropdown. Prevent failure when the slider helper function receives a nil object.