changed style to allow slider to be visible on loading