Fixed Error (non fatal) with slider: reference before assignment

Signed-off-by: Nicola Ferralis <feranick@hotmail.com>