change position of slider closing div