Adding support for custom sidebar templates