Added slider plot for different K