add panzoom and slider. crazy broken behavior