Added sidebar js behavior