Added sidebar functionallity