fix events for bootstrap 3.x and tab show

@Primer42