Added sidebar open/close event