adds a slider to the ui

Signed-off-by: Marcel Schwittlick <marzzzel@gmail.com>