added default tab option, tabs click handler now preventing default
merge from upstream master