added a z-index for input and toggle