split sidebar into its own file