changed slider to ui slider. needs work still for zoom