border shadow and disable top element when opened