get state for side drawer open/close in depth element