Removed unused global variables from slider-actions.php.