added slider for frame window