Removed display sidebar function