Its working for side bar

Few more changes then we are done with this.