Implemented slider for fps