changed orientation of slider to enum