Adds ajax support for sidebar links