javascript open/close action drawer