add cache headers and adjust slider value calc