correctly formatted histogram and slider