Custom callback for site selector switch function.

If switchSiteOnSelect is function callback then run it instead of default behavior.