new sidebar image and some refactoring