creating sidebar template