added slider for changing size of formula