title: Zoom on y-axis while using plotly::rangeslider
body: <p>I would like to zoom in on the y-axis on a plotly plot that uses <code>rangeslider</code>.</p>
  <p>A reproducible example:</p>
  <pre><code>library(ggplot2)
  library(plotly)
  p &lt;- ggplot(faithful, aes(x = waiting)) +
      geom_histogram(bins = 30)
  p &lt;- ggplotly(p)
  p &lt;- rangeslider(p)
  p
  </code></pre>
  <p>The way I can zoom is the following:</p>
  <p><img src="https://i.stack.imgur.com/qPuDI.png" alt="" /></p>
  <p>However, I would like to be able to also zoom like this (which is done by not adding a <code>rangeslider</code>):</p>
  <p><img src="https://i.stack.imgur.com/L6Fg2.png" alt="" /></p>
  <p>I assume this can be done by using something along the lines of</p>
  <pre><code>p &lt;- layout(p, dragmode = &quot;zoom&quot;)
  </code></pre>
  <p>but I haven't been able to make this work.</p>